package diaosidadui.demo;

public class Demo01 {
    public static void main(String[] args) {
/*        Student s1 = new Student();
        Student s2 = new Student();
        s1.name = "张三";
        s1.age = 18;
        s1.school = "黑马程序员";
        s2.name = "李四";
        s2.age = 19;
        s2.school = "黑马程序员";
        System.out.println(s1.name+"-"+s1.age+"-"+s1.school);
        System.out.println(s2.name+"-"+s2.age+"-"+s2.school);

        System.out.println(s1);*/

        Student s3 = new Student();
        s3.study();
        s3.study();
    }
}
